FROM java:8
MAINTAINER wendong<wendong.shang@ecloud.com.cn>
RUN echo "Asia/shanghai" > /etc/timezone;

VOLUME /tmp
COPY washer-0.0.1-SNAPSHOT.jar /app.jar

WORKDIR /
CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-Xms128m", "-Xmx512m", "-jar", "app.jar"]

EXPOSE 9020 10001